﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FigureDraw.Shapes
{
    class MyText : MyShape
    {
        string text;
        double size;

        public MyText(string text, double size, double x, double y) : base(x, y) 
        {
            this.text = text;
            this.size = size;
        }

        public override void Draw(Graphic.CommonGraphic graphic)
        {
            graphic.DrawText(text, size, x, y);
        }

        public override MyShape Clone(Diagram.BlockDiagram diagram)
        {
            throw new NotImplementedException();
        }
    }
}
